#ifndef ASTNODE_STATEMENT_LIST_H
#define ASTNODE_STATEMENT_LIST_H
#include "AstNode.h"

class AstNodeStatementList : public AstNode
{
  public:
    AstNodeStatementList();
    ~AstNodeStatementList();

    void         addNode(AstNode*);

    virtual void compile(class CompileVisitor*);


    virtual void dump(int level);

    inline std::vector<AstNode*> & getChildren() { return nodes; }

    //virtual int  compile(ClassFile * klass, MethodInfo * method);

  private:
    std::vector<AstNode*> nodes;
};

#endif
